#include "NaTools.hpp"
using namespace std;

vector<double> a;
vector<double> b;

class unknown:public func{
public:
	double operator()(double h){
		return h*h*h*h*h*h*h;
	}
	double deriv(double h, int p){
		if(p==1) return 7*h*h*h*h*h*h;
		if(p==2) return 7*6*h*h*h*h*h;
		return 0;
	}
};

void create(){
	a.push_back(0);
	for (int i=0;i<3;i++) a.push_back(1);
	for (int i=0;i<2;i++) a.push_back(2);
}

int main(){
	unknown r;
	create();
	Hermite_inter q(r,a);
	q.print();
	cout << DivDiff(r,a);
}